import request from '../util/http'

/**
 * 获取活动信息openid token
 */
export function getActivityInfo() {
  return request.get('/napi/user/userActivityInfo')
}

/**
 * 获取验证码
 */
export function getCaptcah() {
  return request.get('/napi/user/captcha')
}

/**
 * 员工扫码录入
 * @param {*} data
 */
export function save(data) {
  return request.post('/napi/user/save', data)
}
